package com.menggudf.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 * 诊断时生成的病历
 * @author Administrator
 *
 */
@Entity
@Table(name="myCaseHistory")
public class MyCaseHistory implements Serializable{
    
    /**
     * 
     */
    private static final long serialVersionUID = 4275234167289185698L;
    
    private int id;
    private String userCode;
    private String roleCode;
    private String code;
    private String name;
    private String illNames;
    private String symptoms;
    private String pictures;
    private String examinations;
    private String scheme;
    private String opinion;
    private String medication;
    private Date createdTime;
    
    @Id
    @Column(name="id",unique=true,nullable=false)
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    
    @Column(name = "userCode")
    public String getUserCode() {
        return userCode;
    }
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
    
    @Column(name = "roleCode")
    public String getRoleCode() {
        return roleCode;
    }
    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
    
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    
    @Column(name = "name")
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name = "illNames")
    public String getIllNames() {
        return illNames;
    }
    public void setIllNames(String illNames) {
        this.illNames = illNames;
    }
    
    @Column(name = "symptoms")
    public String getSymptoms() {
        return symptoms;
    }
    public void setSymptoms(String symptoms) {
        this.symptoms = symptoms;
    }
    
    @Column(name = "pictures")
    public String getPictures() {
        return pictures;
    }
    public void setPictures(String pictures) {
        this.pictures = pictures;
    }
    
    @Column(name = "examinations")
    public String getExaminations() {
        return examinations;
    }
    public void setExaminations(String examinations) {
        this.examinations = examinations;
    }
    
    @Column(name = "scheme")
    public String getScheme() {
        return scheme;
    }
    public void setScheme(String scheme) {
        this.scheme = scheme;
    }
    
    @Column(name = "opinion")
    public String getOpinion() {
        return opinion;
    }
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
    
    @Column(name = "medication")
    public String getMedication() {
        return medication;
    }
    public void setMedication(String medication) {
        this.medication = medication;
    }
    
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "createdTime", length = 19)
    public Date getCreatedTime() {
        return createdTime;
    }
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
    
    
        
}
